<template>
    <bi-table :data="list" :loading="loading" min-height="300">
        <bi-table-column label="数据库类型" name="config" width="150"></bi-table-column>
        <bi-table-column label="数据库文件"  v-slot="{row}" >
            
        </bi-table-column>
    </bi-table>
</template>

<script>
export default{
    data(){
        return {
            list:[],
            loading:false
        }
    },
    props:{
        app:String
    },
    mounted(){
        this.loading = true;

        this.$ajax({
                url:this.$url({controller:'database',action:'backUpList'}),
                data:{
                    app:this.app,
                },
                success:(data)=>{
                    this.list = data;
                },
                over:()=>{
                    this.loading = false;
                }
            })
    }
}
</script>